package com.hellowx.manager.service.impl;

import com.hellowx.manager.mapper.GoodsImageMapper;
import com.hellowx.manager.pojo.GoodsImage;
import com.hellowx.manager.service.GoodsImageService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by IntelliJ IDEA.
 *
 * @author MagicMushroom
 * @date 2021/7/18
 */
@Service
public class GoodsImageServiceImpl implements GoodsImageService {

    @Resource
    private GoodsImageMapper goodsImageMapper;

    @Override
    public Integer saveGoodsImage(GoodsImage goodsImage) {
        return goodsImageMapper.insertOne(goodsImage);
    }
}
